[INFO] cloning repository https://github.com/itsmontoya/tokio_learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsmontoya/tokio_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ef2f192055ffb041d21a0f4b29151fc24d1d3a4
[INFO] checking itsmontoya/tokio_learning against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/itsmontoya/tokio_learning on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/itsmontoya/tokio_learning
[INFO] finished tweaking git repo https://github.com/itsmontoya/tokio_learning
[INFO] tweaked toml for git repo https://github.com/itsmontoya/tokio_learning written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/itsmontoya/tokio_learning already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 564fcb94aebf40b04893de0b2ad92b743932d2cd6b2f4ef87d8d0923d8283375
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "564fcb94aebf40b04893de0b2ad92b743932d2cd6b2f4ef87d8d0923d8283375", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "564fcb94aebf40b04893de0b2ad92b743932d2cd6b2f4ef87d8d0923d8283375", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "564fcb94aebf40b04893de0b2ad92b743932d2cd6b2f4ef87d8d0923d8283375", kill_on_drop: false }`
[INFO] [stdout] 564fcb94aebf40b04893de0b2ad92b743932d2cd6b2f4ef87d8d0923d8283375
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fd874af297bb7c4bd9f65a027395469be4510572caba735577c2d6c88f0d8eb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4fd874af297bb7c4bd9f65a027395469be4510572caba735577c2d6c88f0d8eb", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.22
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]     Checking byteorder v1.0.0
[INFO] [stderr]     Checking log v0.3.7
[INFO] [stderr]     Checking futures v0.1.13
[INFO] [stderr]     Checking lazycell v0.4.0
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking scoped-tls v0.1.0
[INFO] [stderr]     Checking iovec v0.1.0
[INFO] [stderr]     Checking net2 v0.2.27
[INFO] [stderr]     Checking bytes v0.4.2
[INFO] [stderr]     Checking mio v0.6.7
[INFO] [stderr]     Checking tokio-io v0.1.1
[INFO] [stderr]     Checking tokio-core v0.1.6
[INFO] [stderr]     Checking helloWorld v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:86:90
[INFO] [stdout]    |
[INFO] [stdout] 86 | ...: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::future::Future<Item=(), Error=std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:86:90
[INFO] [stdout]    |
[INFO] [stdout] 86 | ...: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::future::Future<Item=(), Error=std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Box<dyn futures::Future<Item = (), Error = std::io::Error>> as futures::Future>::Error == ()`
[INFO] [stdout]   --> src/main.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |         handle.spawn(msg);
[INFO] [stdout]    |                ^^^^^ expected struct `std::io::Error`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Box<dyn futures::Future<Item = (), Error = std::io::Error>> as futures::Future>::Error == ()`
[INFO] [stdout]   --> src/main.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |         handle.spawn(msg);
[INFO] [stdout]    |                ^^^^^ expected struct `std::io::Error`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let done = socket.incoming().for_each(move |(socket, addr)| {
[INFO] [stdout]    |                                  ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |     core.run(done).unwrap();
[INFO] [stdout]    |              ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ForEach<tokio_core::net::Incoming, [closure@src/main.rs:70:43: 73:6 handle:_], ()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let msg = amt.then(move |result| {
[INFO] [stdout]    |                   ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let done = socket.incoming().for_each(move |(socket, addr)| {
[INFO] [stdout]    |                                  ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |     core.run(done).unwrap();
[INFO] [stdout]    |              ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::Future` for `ForEach<tokio_core::net::Incoming, [closure@src/main.rs:70:43: 73:6 handle:_], ()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let msg = amt.then(move |result| {
[INFO] [stdout]    |                   ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    |             ^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ---------- required by this bound in `futures::Then`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    |             ^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ---------- required by this bound in `futures::Then`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    |    ^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ---------- required by this bound in `futures::Then`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    |    ^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ---------- required by this bound in `futures::Then`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ---------- required by this bound in `futures::Then`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ---------- required by this bound in `futures::Then`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>...
[INFO] [stdout]    |                                                                                      ----------------------------------------------------------- expected `Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | expected struct `Box`, found enum `std::result::Result`
[INFO] [stdout]    | help: store this in the heap by calling `Box::new`: `Box::new(Ok(Box::new(msg)))`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>`
[INFO] [stdout]                 found enum `std::result::Result<Box<futures::Then<tokio_io::io::Copy<tokio_io::io::ReadHalf<tokio_core::net::TcpStream>, tokio_io::io::WriteHalf<tokio_core::net::TcpStream>>, (), [closure@src/main.rs:92:24: 97:6 addr:_]>>, _>`
[INFO] [stdout]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>...
[INFO] [stdout]    |                                                                                      ----------------------------------------------------------- expected `Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | expected struct `Box`, found enum `std::result::Result`
[INFO] [stdout]    | help: store this in the heap by calling `Box::new`: `Box::new(Ok(Box::new(msg)))`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>`
[INFO] [stdout]                 found enum `std::result::Result<Box<futures::Then<tokio_io::io::Copy<tokio_io::io::ReadHalf<tokio_core::net::TcpStream>, tokio_io::io::WriteHalf<tokio_core::net::TcpStream>>, (), [closure@src/main.rs:92:24: 97:6 addr:_]>>, _>`
[INFO] [stdout]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `helloWorld`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4fd874af297bb7c4bd9f65a027395469be4510572caba735577c2d6c88f0d8eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fd874af297bb7c4bd9f65a027395469be4510572caba735577c2d6c88f0d8eb", kill_on_drop: false }`
[INFO] [stdout] 4fd874af297bb7c4bd9f65a027395469be4510572caba735577c2d6c88f0d8eb
